package Com.amit.IO;

import java.io.FileWriter;


public class Lab10 {

	
	public static void main(String[] args) throws Exception {
	
		FileWriter fw=new FileWriter("C:\\Users\\NETA JEE\\Desktop\\Amit.txt");
		
		fw.write("i am amit1");
		fw.flush();
		fw.close();
		System.out.println("successful");

	}

}
